package com.atguigu.gulimall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/*
* mybatisplus进行逻辑删除
*1.在配置文件里面配置全局的mybatisplus的逻辑删除(可以省略)
*2.在mybatis-plus的低版本里面还需要配置逻辑删除的组件Bean(可以省略)
* 3.在逻辑删除的实体类对应的属性字段上面需要加入：@TableLogin注解
* */
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.atguigu.gulimall.product.dao")
public class GulimallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }

}
